package org.jeecg.modules.device.com.pudong.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pudong_device_config
 * @Author: jeecg-boot
 * @Date:   2024-06-07
 * @Version: V1.0
 */
@Data
@TableName("pudong_device_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pudong_device_config对象", description="pudong_device_config")
public class PudongDeviceConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**设备号*/
	@Excel(name = "设备号", width = 15)
    @ApiModelProperty(value = "设备号")
    private java.lang.String deviceNo;
	/**所在站点*/
	@Excel(name = "所在站点", width = 15)
    @ApiModelProperty(value = "所在站点")
    private java.lang.String sensorPoint;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String name;
	/**设备型号*/
	@Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private java.lang.String sensorType;
	/**SN码*/
	@Excel(name = "SN码", width = 15)
    @ApiModelProperty(value = "SN码")
    private java.lang.String snCode;
	/**设备产地*/
	@Excel(name = "设备产地", width = 15)
    @ApiModelProperty(value = "设备产地")
    private java.lang.String deviceOrigin;
	/**设备生产日期*/
	@Excel(name = "设备生产日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "设备生产日期")
    private java.util.Date deviceManufactureTime;
	/**设备地址*/
	@Excel(name = "设备地址", width = 15)
    @ApiModelProperty(value = "设备地址")
    private java.lang.String address;
	/**设备经度*/
	@Excel(name = "设备经度", width = 15)
    @ApiModelProperty(value = "设备经度")
    private java.lang.String longitu;
	/**设备纬度*/
	@Excel(name = "设备纬度", width = 15)
    @ApiModelProperty(value = "设备纬度")
    private java.lang.String latitude;
	/**设备状态*/
	@Excel(name = "设备状态", width = 15)
    @ApiModelProperty(value = "设备状态")
    @Dict(dicCode = "deviceStatus")
    private java.lang.String status;
	/**设备归属*/
	@Excel(name = "设备归属", width = 15)
    @ApiModelProperty(value = "设备归属")
    private java.lang.String deviceHome;
	/**产品ID*/
	@Excel(name = "产品ID", width = 15, dictTable = "product", dicText = "product_name", dicCode = "id")
	@Dict(dictTable = "product", dicText = "product_name", dicCode = "id")
    @ApiModelProperty(value = "产品ID")
    private java.lang.String productId;
	/**物联网ID*/
	@Excel(name = "物联网ID", width = 15)
    @ApiModelProperty(value = "物联网ID")
    private java.lang.String deviceCtwingId;
	/**上报频率*/
	@Excel(name = "上报频率", width = 15)
    @ApiModelProperty(value = "上报频率")
    private java.lang.String reportedTime;
	/**上报频率单位*/
	@Excel(name = "上报频率单位", width = 15, dicCode = "time_unit")
	@Dict(dicCode = "time_unit")
    @ApiModelProperty(value = "上报频率单位")
    private java.lang.String reportedTimeUnit;
    /**上报频率单位*/
    @Excel(name = "开关类型 ", width = 15, dicCode = "time_unit")
    @Dict(dicCode = "dataSwitch")
    @ApiModelProperty(value = "开关类型 0 启动传输  1 停止传输")
    private Integer dataSwitch;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;

    /**更新时间*/
    @Excel(name = "海拔高度 ", width = 15)
    @ApiModelProperty(value = "海拔高度")
    private String altitude;


    @TableLogic
    private Integer deleted;
}
